<html>
<body>

<form action="gallery.php" method="post" enctype="multipart/form-data">

<table border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td>File 1: &nbsp;&nbsp;<input type="file" name="file" id="file" /></td>
    <td>Caption 1: &nbsp;&nbsp;<input type="text" maxlength="250" name="caption1" id="caption1" /></td>
	<td>Date:&nbsp;&nbsp;<input type="text" maxlength="10" name="date1" id="date1" /></td>
	<td>Event&nbsp;&nbsp;<input type="text" maxlength="50" name="event1" id="event1" /></td>
  </tr>
  <tr>
    <td>File 2: &nbsp;&nbsp;<input type="file" name="file2" id="file" /></td>
    <td>Caption 2: &nbsp;&nbsp;<input type="text" maxlength="250" name="caption2" id="caption2" /></td>
	<td>Date:&nbsp;&nbsp;<input type="text" maxlength="10" name="date2" id="date2" /></td>
	<td>event:&nbsp;&nbsp;<input type="text" maxlength="50" name="event2" id="event2" /></td>
		<td></td>
  </tr>
  <tr>
    <td>File 3: &nbsp;&nbsp;<input type="file" name="file3" id="file" /></td>
    <td>Caption 3: &nbsp;&nbsp;<input type="text" maxlength="250" name="caption3" id="caption3" /></td>
	<td>Date:&nbsp;&nbsp;<input type="text" maxlength="10" name="date3" id="date3" /></td>
	<td>event:&nbsp;&nbsp;<input type="text" maxlength="50" name="event3" id="event3" /></td>
	<td></td>
  </tr>
</table>

<input type="submit" name="submit" value="Submit" />
</form>

</body>
</html>